fix compile without smartreflex