fixed "thor" bug