text cleanup fix