fixed fatal error bug
fixed animation timing