replace than with then