fixed alignment of valid mask in verify