program crashed when using images with a different height/width