fixed init block issue