updated pw img to vector, thanks Danaan