fix end of keyword