removes keys from storage
fixes replacers ksort from constructor