Added vector bug