fixing error in syntax