fixed more bugs (usage of Effect in Apply3D)