fixed specFunc