bugfix in DatabaseTable