fixed error for checking special role