fixed off by one error when referencing power systems