fix db methods (adds exception)