Fixes bug that created function specifier twice