additional fix to %prof