fixed __init__ passing in empty[] error