Fix - $modx->set_aliases()
Small fix
Small fix - Delete unnecessary codes
Use $modx->makeUrl()
Fix