fix change resource partial
remove Post if