fix role phpmyadmin and change when clauses for .change