fixed cookie load from config