workaround for crash in 7.0 and 64-bit

#145