Fixed __init__ bug and if statement assignment