handle percentage symbols