Fix missing variable error for catalog