fix URL helper