correcting formula values