methods bug fix