fixed bug with method missing