solved the single line problem