another undefined check