fix warning (method definition)

method definition should be the same as in parent class