fix return deleted functions by mistake