fix compilation error and UIServices propagation