fix #239, REST AppMasterService test failed