change ahs range default to whole buffer