Fixes to make alog work