change of logic of resume page