fix for permissions denied #97

compare str to int. Force both to string