Removing one console output and splittling string