support GS 3.8

Signed-off-by: Orest Tarasiuk <orest.tarasiuk@tum.de>