workaround a bug in temp module