Returning error for prefix already registered