fixed bug created in previous commit.