image required bug fix