PATTERN_STATUS and getprofile action fix