remove useless characters 'a'.