weird delegation problem fix