Fixed simulator readline