Fixed typing bug that existed