modified readme and fixed bug in index