Fix some parsing.
Fix calculation about electricity.