fix error with using "current" version