implemented remove layers..some add layers are returning error frm server..