fixed thor error