Line making bug fixed