remove call to packages in events