clearing before redeploying