why are you changing identation of the "return -1;" line? seems to be not needed for this patch