fix size issues and url overwrite.