Fix deployment: removing keys after deploy