fixing image field bug