custom for Play 1.2.7