fix remove call to removed function