Remove insecure mode