fix rotate
fix transformend in demo