Fixed typo

Made it so it was calling an actual function