Fixing load image reference close #4