No its not a glitch. At the end there is a final star right at the end. If you speed through then the star wont count as any points. in order to get gold you need to get all the stars. So slow down at the end and wait tell the star adds points to your total. this should work. I only had to do level 4, 3 times! Same with level 1!
Wow, I really like the dynamics of this game. But I had to play level 4 like a million times in order to get the gold medal. I swear I did it perfectly, earning all stars, not getting hurt, and doing it as quickly as possible, pretty much every time. Yet it took like 87 thousand tries. Maybe it's a glitch?