fixed one remaining ref for 8bd882b5ef9e4a35e38f04a4ddd8a373d401dba8
fixed tests