fix power issue, enhance log