added lines
fixed bug