play 2.2.1 support

I've changed some lines for play 2.2.1