fixing bugs and updating README