readme and bug fixes