Fixed small bug in E2