fix bug with full file