more kss fix #311