repaired bad request for line-pattern