gcc-4-8: fixed crash due to uninitialized ptr