fix to vector mode