bug fixing and add readme