fix compilation according to new engine needs