Fix some bugs on Tool Convert

Fix some bugs on Tool Convert