remove end line in condition