the correct fix for the violation