fix bugs. error cookies