fixed LoadState in some forms