fixed a potential segfault