fixed stupid error in process_dubl