Fix redirect error, update index.jade