Default before join to prevent undefined vars