trying to fix transitions