clean up before deploy