fixed bug with parameters in divLines