workaround a weird behaviour