fix method build