fixed importDecks function