Fix key delete for startup