Fixed *args issue for different versions of Python. this might be temporary fix though