fix variable setting from skinny and mismatched logging
fix some close on -1 issues