fixed double-loading images