fix elevation on linux platform