new changes for resize on service call