remove override annotation in anonymous class