fixed bug for net