Fixed undefined 'e' error