#28 fixed wrong function call