Correct display problems in files and contacts