removing trailing %