josa bug fix