remove useless properties