git rid of AM_HANDLE all cases use AM_FUNC