Fix entry object to DB