make it work agains 1.5

so it works with new version