fixed NullPointer in ES1 mapper