found more thing that refered deck as a string instead of an int
commited by: cjwolf