fix os reload to have **kwargs