use **kwargs in __init__ function

fixes crash when used from kv