fix recent hacks

Signed-off-by: Jeff Hilnbrand <jahilnbrand@gmail.com>