fixed some bugs in mod_alt and func_force