fix buffer overrun in powlist