fixed broken fns