fixed bug in id, ids, f?, fu?

they were expecting database to be passed in