fixed ecos getter for linux (i hope)