Fix a bug in deflections