add range assert when loading bools