fix bug version + error end day