read prefix from DB instead of splitting at the slash