fix get action on resource