fix compile errors with FEATURE_FLW