Sets value on a nil lasknown

fixes #1215