fix transtion on enter.

M