remove empty line before prompt