Fix issues with wwjs