[misc] migrate deprecated / unnecessary parseInt calls