remove internal, has_key