Fix silly cost bug. I think