for playframework 1.x only!