fix maxpower