fixing uppercase problem for decorators