trying to fix the error that I get when compiling