Ref fix for azure