index page encoding
fix index
fix getter
add db