Workaround suggested by @vovkkk