Fixed a bug where we try to index halt as if it was a function