removed unneded stuff.
use the hashref inflator correctly.