Minor bug, old function call