fixed calling wrong method