Fix bug in previous.