fixed the no plot issue