some line fixes