bug fixed in tonemapping