fixed the broken custom route option