Minir code Fix