Fixed issues with insufficient console space
A newline issue is resolved