fixed row ordering problem with board conversion