fixed off-by-one indent bug