fix bug in new imgbox regexp