fixed training and validation