fix checkbox values for plugin ajax calls