fixing lines of code that are throwing errors on the server