Fix empty line problem