fixed some bugs
updated readme