resolve issues with the static analysis exercise