fixed the first arguement error by adding an if statement for the creating of comments