fix <lt> and <gt>