Removed the setting parameter in imagePanel