fixed method declaration and override annotations