fix initialization stops program start