bug fixes for j0
fix j0 check for all controllers