Fixing merge of priors