fix uninitialised string issue