fixing image mode now working