embedded doc fixes