fixed powervalue code included