fixes for line