fixed how it gets current version