dagoth fix
fix for implicit references