lookup key size is unsigned
silly indentation fix
tempfile goodness