ugly hack to autoset kwargs