preview added
param check removed
fixes on RPI