small bugfix

synced with current build