fix assert error
add a function to register array of tweenType with one func. rename READ and WRITE CMD