bugfix validation