fix for missing cookies