fix /cam_select and writeline stuff