remove useless function, was in wrong object