fix a strange compile error