percent and validation bugfix