Fixing dtimer usage