fixed memory leak and added empty function for rabble_pkg, thinking about memory pool now