finally fixed image upload bug and hiding default image button on 0 or 1 image