bugfix for variable detection within paths and correcting deprecated fields within service state changes