fixing hotlinking