Fix NPE (from copy/paste error)