fix non initialized variable