fix staged file