add allowed keys option
cs fixes