fix typo
fix duplicate gamma correction