cleans up install handler