fixed bug where DBA cache did not use the correct key