remove canBeEnabled method usage, make compatible with sf2.1

it fixes #21