change getString to getInt for id