rmove Throw Error of registerTask