fix bug with commands id
add 'over/out' events