standardise and remove unnecessary excess