Fixing errors in stock exchange