Fix for long string without spaces error