some housekeeping for azure server