fixing relative asset for s3 compatibility