buttons on image tab bug fix