fixed minor data-type error and fixed errors in the __init__ files I wrote.