Undid errors fix which was used in debugging only