solving issue with self invokation