remove ifdef, fix compile