reordered select2 to be lower, let's see if this solves the undefined variable error