continue to debug rgkmax problem