fix script ajax change role