migrating to ZF2, last fixes