added msg sizes to hash check and fixed widget issues