fck switch using class enabled ,code locates before end of body

Signed-off-by: Sam <sam@ozchamp.net>