remove warnings

warning: assigned but unused variable - scope_called, path and strexp