fixed bugs, updated readme