bug in open_pix