fixing fog issue