fixed some mathematical wrong line-style