fix bug in exception handling method; small edits to citation creator