compile fix and profiler validation in a simpe case