fix code for Play 2.2