fixed wrong method parameter that broke tests