fix server error 500 if not on same line