fixed - stupid nullptr assignment