change boolean to Boolean on entities