quick fix to rdb.