fix parallel line bug