fix stupid bug with null reference