fixed error in almtotcites fxn