incomplete patch 6.5p1

Signed-off-by: Barry Allard <barry.allard@gmail.com>