Fix bug and remove debug information.