fixed some missing method errors in to_s