window locate reimplement pbox rename to pBox
fix bug of pwindow