Fixed first arrival bug by Cookies