fixes comparison somewhat