updating readme and fix compilation issue