fix darkfunction name