fixed history cost as number instead of textbox