changed 2 vprint_error to print_error