add last ref
pdf right
small fixes