fix the show code style and add redirect for root path access
fix compile error and set context path to root