Fix NPE when creating a esf for the first time