fixed that transitions did not work