fixed errors and updated readme