fixed #421: get select with format when null