* SQL DB work ( Error Fixing )

Signed-off-by: fallenangelX <noneya@hotmail.com>