bugs and validation