fixing delegate member access