fix >>: operator and apply on Reference