fixed energy checking