fixing exception for config