fixed bug in load_ALF