solved method not found bug