added decode() for an rstrip to properly convert it