Fix on importing history module