fixed setInterval issue with power