fix affix behaviour after loading