cleaned up a few line problems