fixed for Primary constraint key exception