small fix regarding elev attribute