Improved config view and fixed lineview bug