fix warning when doing init with no options