fixing rename class stuff