fixed frontpage bug
Merge remote-tracking branch 'upstream/master'
language level optimazed