fix bug of executing anonymous