fixed bugs and added favicon