removed duplicate call of load images