compile with new snore api