fixed warnings when there are nonstandard lines