fix for last level of hoc crash with tests