edit readme and fixed bug