Backwood forest ninegems

I tried to complete this but it won’t let me

Did you get all nine gems in less than 4 moves?

Yes but as you can see on the picture it got stuck on the last command