Fix silly type bug (int vs str).