Solving small typing errors