fix broken method decl