fix null nickname condition. fix strpos test