Fixed bugs and readme