fixed weird transition thing