explain ctx judgment more, fix #315