fixed the error of not using the correct name