fix #15 session/index error