fixing transitions #5