fixed an old issue with return in __init__ method