catch render errors while printing log
fix saveBytesAir with relative path
disable varying optimization again