fixed an error that might happen because of the last commit.