Fix site resource param error