delete unneccessary %