Loading state files bugfix v. 1.4