support prefix when public