adapter to sails 0.9.3