fixing bibliography and code wrap