new-line check in key