fixed line manager bugs