fix a very sleepy compile error #941