fixed issue where method names weren't being logged to database.