handle invalid keyword usage