Typing erro fixed