some pan and iso optimizations