fixes image src's not pointing to the correct place