fixed empty vector bug