Fixed problem with profiling (was getting 4 times the same timer)