fixed checkstyle warnings and fixed mixeval copy

Users could not copy public mixevals. The reason was no check was
done to see if its availability is public or not.