fixed bug that loaded function names as header keys