Fixed copy-and-paste bugs of the previous commit.