fixed concurrency issues with reading image properties