fix the issues that server returns a list on tags api