ensure packages expetcs doesn't work with undef