fixing lines_controller