fix current tag retrieval
1.7.1