cleaned some (old and useless) API