for new users, if version is 0, a bug created problem..thanks to sameer caught it