fix haar reference issue