fixing error image in popup