clean up img urls