fix render index to work with debug mode
add filter_keyword and make config.py support it
add filter feature and fix mock mapping bug