fixed front page error