fix unitialized field error