getting rid of exception causing an error