fixed measure length
fixed weird explosion