weird attribute resolution issue