removed error in init
pritning leads to segmentation fault