fixed cpu cycles issue