fixed smallintegerfield instead of charfield