Changed dims.ep to dims.e