fixed rename call in constructor