[nyaa] fix some corner cases