fixed the image loading? and the selectTool