* adapted to new glow version
* fixed bug while reading a loaded image