ugly hack involving a locked DAT to (sort of) fix #26 (see also #25)