fixed js prob