nullptr should not be returned as element type is checked at line99