fixed pointer mistake and grammar