add load predicate, fix halt erlog_local_shell