fix issue #8155 where keywords args were not getting displayed properly