fixed some bugs
image is finally showing!