fix .rc's bug