Fixed minor bug in category enable property