attempt to solve nasty error on load