Document amount nil fix