fixed filtering in logs to work correct with numbers and break loop for a bug