fix #4, add default format when options is passing