fix assistance modal type breaking everything