bug in makeschema