Fix logic error in kickInactive
Fix trailing whitespace in formats