Fixed a problem with *args and **kwargs