fixed call to nonexistent function