applying forulas fix