query fixed in holiday dao