transition demo compile fixes, but it doesn't work correctly. Don't know where is the problem