clean up extra lines