Mkae sure configuation is not nil