Remove debug print_r() and correct links errors.