Bugfix: the server side need the flag use the string format 'true' or 'false'