fixing horrible tabbing formatting
don't try to persist NaN or undefined values