fixed bug191 better math image quality