properly initialize
fix crash