fixing bug and changing readme