fixed wrong entries in database, revisions