Correct bugs in URL parameters implementation