fixed flag for elev_comp