fixed bugs related to new.rc