I tried to replace value cover gasket on 1998 328i but the cover would come off? on 1998 BMW 328i

I removed all the required bolts etc and the breather hose. I tried to pry the cover off near the breather hose as instructed but the cover still wouldn't come off?? Please help, thank you!