table name deprecation warning fixed