small bug fixes involving main page
Merge pull request #24 from ysubtle/master

small bug fixes involving main page