Fix elevation

Fixes #305