Fixed bug in generating url