database reworked fixed

mb ;/