loading image and added player instance
error fix