rose edit: fix bugs in prev commit.