Added explicit error for history not working