attempt to make resourcia upload relative