Make sure some vars are defined