Fixed some errors in my previous commit.