small changes in al_utils