fixed promotion and bishop bug