image replacing correctly now