fix calc of elev maps