fixed unstable sonic triggers
smarter obstacle handling