fix problem with vector shape