bug fix: wrong method parameter type causing compile fail