fixed reference problem on the images