fix dop images function call