passed kwd arg to wrong place