fixes for raspberry (to be analyzed) TODO
fixes for raspberry (to be analyzed) TODO