[FOLD] compile fixes