FIXES FOR PJ

Signed-off-by: Thierry <thierry.van.loo.tvl@gmail.com>