fixes showing files from prev commits