Fixed some errors in last commit.