SQL insertion fixed