replaced the deprecated method getCleanOutput with the new method