change moved attributes into normal variables