initialization was wrong