[FEATURE] Fix error with self variable

defined variables