fix bag addproblem(without photo) for firefox