fix bug (get null cookies + regexp pattern for pasre method and action)