fixed typos
save densitys for transformations too