ChunkProvider part fixes

This one might need to be rolled back due to some changes i was not sure
of if it was the right way to do